import {$http} from '@escook/request-miniprogram';

$http.baseUrl = 'https://www.uinav.com';

$http.beforeRequest=(options)=>{
	uni.showLoading({
		title:'数据加载中，请稍后'
	})
}
$http.afterRequest=()=>{
	uni.hideLoading()
}
export default $http;